package com.yunhe.marketing;

import com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = PageHelperAutoConfiguration.class)
@EnableFeignClients(basePackages = {"com.yunhe"})
@ComponentScan(basePackages = {"com.yunhe"})
@MapperScan("com.yunhe.marketing.repository")
public class MarketingServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(MarketingServerApplication.class, args);
    }
}
